package org.deng.learn.designpattern.builder;

/**
 * @author DengLibin
 * @Description
 * @Date 2019/2/12 0012 17:11
 */
public class IBHouseBuilder implements IHouseBuilder {
    private House house;
    public  IBHouseBuilder(){
        house = new House();
    }
    @Override
    public void diji() {
        house.setDiji("B类型房子，地基完成");
    }

    @Override
    public void puZhuan() {
        house.setPuZhuan("B类型房子，铺砖完成");
    }

    @Override
    public void puDianXian() {
        house.setPuDianXian("B类型房子，铺电线完成");
    }

    @Override
    public void zhuangXiu() {
        house.setZhuangXiu("B类型房子，装修完成");
    }

    @Override
    public House buildHose() {

        return house;
    }
}
